package edu.zut.cs.software.perfect.manage.service;



import java.util.List;
import java.util.Optional;

import edu.zut.cs.software.perfect.base.service.GenericTreeManager;
import edu.zut.cs.software.perfect.manage.domain.Administrator;
import edu.zut.cs.software.perfect.process.domain.CourseProcess;


/**
 * @ClassName adminManager
 * @Description TODO
 * @Author wst
 * @Date 2020年5月23日 下午1:19:16
 * @Version 1.0
 */
public interface AdministratorManager extends GenericTreeManager <Administrator,Long>{
	
	/**
	 * echo
	 * @param message
	 * @return
	 */
	public Administrator echo(Administrator message);
	

	/**
	 * add admin
	 * @return
	 */
	public Administrator add_a();
	
	/**
	 * delete admin
	 * @return
	 */
	public Administrator delete_a();
	
	/**
	 * change admin message
	 * @return
	 */
	public Administrator change_a();
	
	/**
	 * find admin
	 * @return
	 */
	public Administrator find_a();


	public List<Administrator> findAll();
	
	public Administrator getAdministratorById(Long id);
	
	Optional<Administrator> findBycourseId(Long courseId);
	
	Boolean deleteById(Long Id);

}
